package main

import (
	"fmt"
	"math"
)

func main() {
	//Abs(±Inf) = +Inf
	//Abs(NaN) = NaN

	x := math.Abs(-2)
	fmt.Printf("%.1f\n", x)
	x = math.Abs(2)
	fmt.Printf("%.1f\n", x)
}
